﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class Item
{
    public enum ItemsType
    {
        NONE,
        WEAPON_BEGIN,
        ///////////////////////////////// Kinetics
        // Point Defense
        WEAPON_SMALL_KINETICS_LIGHT_MACHINE_GUN,
        // Main
        WEAPON_SMALL_KINETICS_TONGUE_38,
        WEAPON_SMALL_KINETICS_SHORT_SPEAR,
        WEAPON_SMALL_KINETICS_RAILGUN_S40,
        WEAPON_SMALL_KINETICS_CHARGEQUICKFIRER,
        WEAPON_MIDDLE_KINETICS_AUTO_GUNNERY,
        WEAPON_MIDDLE_KINETICS_BLUE_FAIRY,
        WEAPON_MIDDLE_KINETICS_SUNSET_GROW,
        WEAPON_MIDDLE_KINETICS_MACHINE_GUNNERY,
        WEAPON_MIDDLE_KINETICS_LONG_SPEAR,
        WEAPON_MIDDLE_KINETICS_THREE_LIGHT_MACHINE_GUN,
        WEAPON_BIG_KINETICS_GUSTAF_800,
        WEAPON_BIG_KINETICS_HUGE_SPEAR,

        //////////////////////////////// Missile
        WEAPON_SMALL_WEATHERMONKEY,
        WEAPON_SMALL_MISSILE_STANDARD01,
        WEAPON_SMALL_MISSILE_DEATH,
        WEAPON_SMALL_MISSILE_VIPER_S,
        WEAPON_SMALL_MISSILE_CUPID,
        WEAPON_MIDDLE_MISSILE_STANDARDJ4,
        WEAPON_MIDDLE_MISSILE_HONEYCOMB_30,
        WEAPON_BIG_MISSILE_STANDARD_10,

        //////////////////////////////// Laser
        WEAPON_SMALL_LASER_WASP_S1,
        WEAPON_MIDDLE_LASER_TRIPPER,
        WEAPON_MIDDLE_LASER_HOLDE,

        //////////////////////////////// UAV
        WEAPON_MIDDLE_UAV_SABER,
        WEAPON_MIDDLE_UAV_JEREMY,
        WEAPON_END,
        NETFRIEND_WEAPON_BEGINE,
        NETFRIEND_WEAPON_MIDDLE_UAV_QIQI_P,
        NETFRIEND_WEAPON_END,

        /////////////////////////////////////////// FEATURES
        FEATURE_BEGIN,
        FEATURE_SMALL_SHILD,
        FEATURE_MIDDLE_SHILD,
        FEATURE_BIG_SHILD,
        FEATURE_END,

        /////////////////////////////////////////// Materials
        ///////////////////// Ore
        MATERIAL_BEGIN,
        MATERIAL_ORE_FE,
        MATERIAL_ORE_AG,
        MATERIAL_ORE_AU,
        MATERIAL_ORE_PD,
        MATERIAL_ORE_RED_GEM,

        MATERIAL_PROP_OLD_METAL,
        MATERIAL_PROP_WIN_MEDAL,
        MATERIAL_PROP_LOSE_MEDAL,
        MATERIAL_PROP_ENGINEA,
        MATERIAL_PROP_ENGINEB,
        MATERIAL_PROP_ENGINEC,
        MATERIAL_PROP_ENGINED,
        MATERIAL_END,

    }

    public ItemsType m_Type = ItemsType.NONE;
    public int m_Number = 0;
    public int m_Price=1;
    public string Name = "none";
    public string Perview = "none";
    public string PerfabPath = "none";
    public string Description = "我什么都不是";
    public float m_DropRate = 0.1f;

    public static String getItemEnumString(ItemsType enumValue)
    {
        String str = enumValue.ToString();
        return str;
    }
}